<!DOCTYPE html>
<html lang="en" xmlns:v-text="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="http://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">
<h2>你的死期:{{new Data(birthday).getFullYear()}--
    {{new Data(birthday).getMonth()}}--
    {{new Data(birthday).getDay()}}</h2>
    <h2>{{birth}}</h2>
</div>

<script type="text/javascript">
    var app = new Vue({
        el:"#app",
        data:{
          birthday:1616566607104,
        },
        computed:{
            birth(){
                const day=new Date(this.birthday);
                return day.getFullYear()+"-"+day.getUTCMonth()+"-"+day.getUTCDay();
            }

        }
    });
</script>

</body>
</html>